package qnb.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Course1 {
    private Integer course1Id;// 课程表主键
    @JsonFormat(pattern="yyyy-MM-dd",timezone ="PRC")
    private Date course1Start;// 开始时间
    @JsonFormat(pattern="yyyy-MM-dd",timezone ="PRC")
    private Date course1End;// 结束时间
    private String course1Info;// 备注
    private Integer gradeId; // 自增主键
    private String gradeName; // 班级名称

    @Override
    public String toString() {
        return "Course1{" +
                "course1Id=" + course1Id +
                ", course1Start=" + course1Start +
                ", course1End=" + course1End +
                ", course1Info='" + course1Info + '\'' +
                ", gradeId=" + gradeId +
                ", gradeName='" + gradeName + '\'' +
                '}';
    }

    public Integer getCourse1Id() {
        return course1Id;
    }

    public void setCourse1Id(Integer course1Id) {
        this.course1Id = course1Id;
    }

    public Date getCourse1Start() {
        return course1Start;
    }

    public void setCourse1Start(Date course1Start) {
        this.course1Start = course1Start;
    }

    public Date getCourse1End() {
        return course1End;
    }

    public void setCourse1End(Date course1End) {
        this.course1End = course1End;
    }

    public String getCourse1Info() {
        return course1Info;
    }

    public void setCourse1Info(String course1Info) {
        this.course1Info = course1Info;
    }

    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }
}
